* lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 Jun 2011 18:52:46 +0000 (14:52 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 17 Jun 2011 18:52:46 +0000 (14:52 -0400)
commitd0e41a73278e4236221699641c86d335564148b9
treeabd539928c67f5a02347cf4e1703e4b98a742b67
parent6825d233fb3c0899d280a9621c7b232bcae44552
* lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.
(pcomplete-suffix-list): Mark as obsolete.
(pcomplete-completions-at-point): Capture pcomplete-norm-func and
pcomplete-seen in the closure.
(pcomplete-comint-setup): Setup completion-at-point as well.
(pcomplete--entries): New function.
(pcomplete--env-regexp): New var.
(pcomplete-entries): Rewrite to work with partial-completion and
without relying on pcomplete-suffix-list.
(pcomplete-pare-list): Remove, unused.
* lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string
according to comint-completion-addsuffix.
lisp/ChangeLog
lisp/pcomplete.el
lisp/shell.el